import Layout from "@/layout";

const documentRouter = {
  path: "/document/document",
  component: Layout,
  redirect: "noRedirect",
  name: "document",
  alwaysShow: true,
  hidden: false,
  meta: {
    title: "资料管理",
    abbre: "资料",
    icon: "left_menu_document",
    navigation: "/document",
    id: "407"
  },
  children: [
    {
      path: "/document/documentEdit",
      component: () => import("@/views/document/documentEdit"),
      name: "document_document_edit",
      hidden: true,
      meta: {
        title: "文档编辑",
        noCache: true,
        navigation: "/document/document",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/documentDetail",
      component: () => import("@/views/document/documentDetail"),
      name: "document_document_detail",
      hidden: true,
      meta: {
        title: "文档详情",
        noCache: true,
        navigation: "/document/document",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/document",
      component: () => import("@/views/document/document"),
      name: "document_document",
      hidden: false,
      meta: {
        title: "用户手册",
        noCache: true,
        navigation: "/document/document",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/problem",
      component: () => import("@/views/document/problem"),
      name: "document_problem",
      hidden: false,
      meta: {
        title: "常见问题",
        noCache: true,
        navigation: "/document/problem",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/updateHistory",
      component: () => import("@/views/document/updateHistory"),
      name: "document_updateHistory",
      hidden: false,
      meta: {
        title: "更新记录",
        noCache: true,
        navigation: "/document/updateHistory",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/inform",
      component: () => import("@/views/document/inform"),
      name: "document_inform",
      hidden: false,
      meta: {
        title: "站内通知",
        noCache: true,
        navigation: "/document/inform",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/check",
      component: () => import("@/views/document/globalDragCheck"),
      name: "document_check",
      hidden: false,
      meta: {
        title: "检测项目",
        noCache: true,
        navigation: "/document/check",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/datamange",
      component: () => import("@/views/document/globalDataManage"),
      name: "document_datamange",
      hidden: false,
      meta: {
        title: "活动图库",
        noCache: true,
        navigation: "/document/datamange",
        icon: "menu_big_data"
      }
    },

    {
      path: "/document/datamange/classfiy",
      component: () => import("@/views/document/globalDataMange_classfiy"),
      name: "document_datamange_classfiy",
      hidden: false,
      meta: {
        title: "活动图库",
        bread: "活动图库,图库分类",
        noCache: true,
        navigation: "/document/datamange",
        icon: "menu_big_data"
      }
    },
    {
      path: "/document/tenderList",
      component: () => import("@/views/document/tenderList"),
      name: "document_tender_list",
      hidden: false,
      meta: {
        title: "招标采集",
        noCache: true,
        navigation: "/document/tenderList",
        icon: "menu_big_data"
      }
    },
  ]
};

export default documentRouter;
